package me.trytofeel.mapper;

import me.trytofeel.bean.Student;

import java.util.List;

public interface StudentMapper {
    List<Student> selectAllStudents();

    Student selectStudentById(int id);

    // 若执行有影响行数的的sql语句,则需要定义返回值为int类型
    int insertStudent(Student student);

    int updateStudent(Student student);

    int deleteStudentById(int id);
}
